package com.youth.platform.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/security")
public class SecurityController {

	@RequestMapping("/role.html")
	public String role() {
		return "security/role";
	}

	@RequestMapping("/resource.html")
	public String resource() {
		return "security/resource";
	}

	@RequestMapping("/user.html")
	public String user() {
		return "security/user";
	}
	@RequestMapping("/adduser.html")
	public String toUserAdd() {
		return "security/user_add";
	}
	@RequestMapping("/edituser.html")
	public String toUserEdit() {
		return "security/user_edit";
	}
	@RequestMapping("/roleuser.html")
	public String toUserRole() {
		return "security/user_role";
	}

}
